package org.gushi.algorithm.a01;

public class Main {

    public static void main(String[] args) {

        Integer[] integers = new Integer[]{8, 5, 7, 6, 1, 2, 3, 10, 4, 11, 9};
        BubbleSort<Integer> bubbleSort = new BubbleSort<>(integers);
        integers = bubbleSort.listSort("ASC");
        for (int i = 0; i < integers.length; i++) {
            System.out.println(integers[i]);
        }

    }

}
